// 这是仓库的总的reducer
// 需要合并所有的小的reducer

// combineReducers用于合并reducer
import { combineReducers } from "redux";
import counterReducer from "./counter/reducer";
import nameReducer from "./name/reducer";

const reducer = combineReducers({
  // key表示模块名称
  counter: counterReducer,
  name: nameReducer,
});

export default reducer;
